﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CSWindows
{
    public partial class Form_login : Form
    {
        public Form_login()
        {
            InitializeComponent();
        }

        private void button_make_Click(object sender, EventArgs e)
        {
            if ((comboBox_cheque.Text == "") || (textBox_hisaccount.Text == "") || (textBox_money.Text == "") ||
                (textBox_takekey.Text == ""))
            {
                MessageBox.Show("请完成支票信息！", "Warning!", MessageBoxButtons.OK);
            }
            else
            {
                MessageBox.Show("确定要生成吗？", "确认栏", MessageBoxButtons.OKCancel);
                MessageBox.Show("生成成功！", "恭喜", MessageBoxButtons.OK);
            }
        }

        private void button_checkaccount_Click(object sender, EventArgs e)
        {
            this.Dispose();
            Form_checkaccount f = new Form_checkaccount();
            f.Show();
        }

        private void Form_login_Load(object sender, EventArgs e)
        {

        }

        private void button_exit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

    }
}
